import { Allow, IsInt, IsString } from 'class-validator';
import { CommonColumnEntity } from '../../../../util/entity/common.column.entity';

export class CreateRuleInfoDto extends CommonColumnEntity {
  @IsString()
  title: string;

  @IsInt()
  type: number;

  @Allow()
  sort: number;
}
